﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FSquirrel.Design
{
    public class ExtensionModel : INotifyPropertyChanged
    {
        private bool isselected;
        public bool IsSelected
        {
            get { return isselected; }
            set
            {
                isselected = value;
                RaisePropertyChanged("IsSelected");
            }
        }

        public string ExtensionName { get; set; }

        #region INotifyPropertyChanged Members

        public event PropertyChangedEventHandler PropertyChanged;
        protected void RaisePropertyChanged(string name)
        {
            if (PropertyChanged != null)
                PropertyChanged(this, new PropertyChangedEventArgs(name));
        }

        #endregion
    }
}
